# qianwen.py
class QianWenBot:
    def __init__(self, config):
        self.api_key = config["api_key"]
        self.base_url = config["base_url"]
        self.sub_model = config["sub_model"]

    def get_response(self, message):
        # Implement actual API call using self.api_key, self.base_url, and self.sub_model
        return f"QianWenBot response using {self.sub_model}: {message}"
